<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Open Source BMS</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" href="__ROOT__/admin/js/layui/css/layui.css" media="all">
     <link rel="stylesheet" href="__ROOT__/admin/css/font-awesome.min.css">
     <link rel="stylesheet" href="__ROOT__/admin/css/admin.css">
    <link rel="stylesheet" href="__ROOT__/admin/css/style.css">
      <script src="__ROOT__/admin/js/jquery-3.2.1.min.js"></script>
    <script src="__ROOT__/admin/js/html5shiv.min.js"></script>
     <script src="__ROOT__/admin/js/respond.min.js"></script>
    <script src='__ROOT__/admin/js/amcharts.js'></script>
    <script src='__ROOT__/admin/js/fcbkcomplete.js'></script>
    <script src='__ROOT__/admin/js/jquery.js'></script>
    <script src='__ROOT__/admin/validation/lib/jquery.js'></script>
    <script src='__ROOT__/admin/validation/dist/jquery.validate.min.js'></script>
    <script src='__ROOT__/admin/validation/dist/localization/messages_zh.min.js'></script>
    <![endif]-->
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <!--头部-->
    <div class="layui-header header">
        <a href=""><img class="logo" src="__ROOT__/admin/images/admin_logo.png" alt=""></a>
        <ul class="layui-nav" style="position: absolute;top: 0;right: 20px;background: none;">
            <li class="layui-nav-item"><a href="__ROOT__" target="_blank">前台首页</a></li>
            <li class="layui-nav-item"><a href="{:url('Index/clearlog')}" data-url="" id="clear-cache">清除缓存</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">{$user}</a>
                <dl class="layui-nav-child"> <!-- 二级菜单 -->
                    <dd><a href="{:url('Index/loginOut')}">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <!--侧边栏-->
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree">
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;"><i class=""></i>菜单栏</a>
                    <dl class="layui-nav-child">
                        {volist name='nodes' id='val'}
                        <dd><a href="{:url($val['url'])}">{$val.node_name}</a></dd>
                        {/volist}
                    </dl>
                </li>
                <li class="layui-nav-item" style="height: 30px; text-align: center"></li>
            </ul>
         </div>
    </div>
    <script type="text/javascript">
        $(function(){
            $(".leftnav h2").click(function(){
                $(this).next().slideToggle(200);
                $(this).toggleClass("on");
            })
            $(".leftnav ul li a").click(function(){
                $("#a_leader_txt").text($(this).text());
                $(".leftnav ul li a").removeClass("on");
                $(this).addClass("on");
            })
        });
        function change(obj){
                obj.style.backgroundColor='#e3e4e5';

        }
        function changeOb(obj){
            obj.style.backgroundColor='dodgerblue';
        }
    </script>



    <!--<div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree">
                <li class="layui-nav-item layui-nav-title"><a>管理菜单</a></li>
                <li class="layui-nav-item">
                    <a href=""><i class="fa fa-home"></i> 网站信息</a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:"><i class="">网站管理</i> </a>
                    <dl class="layui-nav-child">
                        <dd><a href="{:url('Carousel/index')}">网站轮播</a></dd>

                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="#"><i class="">权限管理</i> </a>
                    <dl class="layui-nav-child">
                        {volist name='nodes' id='val'}
                        <dd ><a href="{:url($val['url'])}" onclick="show(this)">{$val.node_name}</a></dd>
                        {/volist}
                        <dd><a href="">操作记录</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:"><i class="">邮箱管理</i> </a>
                    <dl class="layui-nav-child">
                        <dd><a href="{:url('Email/show')}">邮件列表</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;">统计管理</a>
                    <dl class="layui-nav-child">
                        <dd><a href="{:url('Login/show')}">操作记录</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>-->
